# frozen_string_literal: true

require_relative '../../../spec_helper'

describe Wpxf::Models::Log, type: :model do
  it { is_expected.to validate_presence :key }
  it { is_expected.to validate_presence :value }
  it { is_expected.to validate_unique :key }
  it { is_expected.to validate_max_length 50, :key }
  it { is_expected.to validate_max_length 100, :value }
end
